package com.blqy.fr.model.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.blqy.fr.model.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 团队实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "Team")
@TableName("team")
public class Team extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "团队名称")
    @TableField("team_name")
    private String teamName;

    @Schema(description = "日报内容")
    @TableField("daily")
    private Integer daily;

    @Schema(description = "周报内容")
    @TableField("weekly")
    private Integer weekly;

    @Schema(description = "月报内容")
    @TableField("monthly")
    private Integer monthly;

    @Schema(description = "是否节假日")
    @TableField("is_holiday")
    private Integer isHoliday;

    @Schema(description = "团队规模")
    @TableField("team_size")
    private Long teamSize;

    @Schema(description = "体验期")
    @TableField("experience_time")
    private Date experienceTime;
}